@charset "UTF-8";
.mj-checkbox {
  cursor: pointer;
  font-size:0;
  vertical-align: middle;
  display: inline-block;
  margin-right:8px;
  /*默认*/
  /*选中状态*/
  /*禁用状态*/
  /*部分选择状态*/
}

.mj-checkbox input {
  opacity: 0;
  outline: none;
  position: absolute;
  margin: 0;
  width: 0;
  height: 0;
  z-index: -1;
}

.mj-checkbox span {
  display: inline-block;
  vertical-align: middle;
}

.mj-checkbox .mj-checkbox-text {
  margin-left: 5px;
  font-size: 14px;
}

.mj-checkbox .mj-checkbox-inner {
  border: 1px solid #dcdfe6;
  background-color: #fff;
  position: relative;
  border-radius: 2px;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  z-index: 1;
  transition: border-color .3s, background-color .3s;
  overflow:hidden;
}

.mj-checkbox .mj-checkbox-inner:after {
  content: '\e742';
  font-family: icon;
  width: 100%;
  height: 14px;
  font-size: 12px;
  line-height: 14px;
  opacity: 0;
  transition: all .2s;
  display: block;
  visibility: hidden;
  transform: scale(0);
  font-weight: 700;
}

.mj-checkbox input:checked + .mj-checkbox-inner {
  background-color: var(--primary);
  border-color: var(--primary);
}

.mj-checkbox input:checked + .mj-checkbox-inner:after {
  opacity: 1;
  visibility: visible;
  color: #fff;
  transform: scale(1);
}

.mj-checkbox input:disabled + .mj-checkbox-inner {
  background-color: #edf2fc;
  border-color: #dcdfe6;
  cursor: not-allowed;
}

.mj-checkbox input:disabled + .mj-checkbox-inner:after {
  color: #c0c4cc;
}

.mj-checkbox.disabled {
  cursor: not-allowed;
}

.mj-checkbox.is-indeterminate .mj-checkbox-inner {
  background-color: var(--primary);
  border-color: var(--primary);
}
.mj-checkbox.is-indeterminate .mj-checkbox-inner:after {
  content:'\e62e';
  font-family: icon;
  width: 100%;
  height: 14px;
  font-size: 12px;
  line-height: 14px;
  display: block;
  font-weight: 700;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  color: #fff;
}

.mj-checkbox.some-select .mj-checkbox-inner {
  border: 1px solid var(--primary);
  background-color: var(--primary);
}

.mj-checkbox.some-select .mj-checkbox-inner:after {
  content: '\e62e';
  font-family: icon;
  width: 100%;
  height: 14px;
  font-size: 12px;
  line-height: 14px;
  display: block;
  font-weight: 700;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  color: #fff;
}

.mj-checkbox-group {
  font-size: 0;
}

.mj-checkbox-group .mj-checkbox {
  margin-right: 10px;
}
